@echo off
REM 设置窗口标题
title Starting Backend, Frontend, and Neo4j

REM 启动 Neo4j 数据库
echo Starting Neo4j...
start neo4j.bat console

REM 切换到 backend 目录并启动 Python 程序
cd backend
echo Starting backend...
start python __init__.py

REM 切换到 frontend 目录并启动 Vue 程序
cd ../frontend
echo Starting frontend...
start npm run serve

REM 返回到原始目录
cd ..

echo Backend, frontend, and Neo4j have been started.
pause